package cn.hxzy.entity.sourceEntity.vo;

import cn.hxzy.entity.siteEntity.Site;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SourceVo对象", description="三个对象的合体")
public class SourceInfoVo implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "货源编号")
    private String sourceId;

    @ApiModelProperty(value = "企业编号")
    private String companiesId;



    @ApiModelProperty(value = "货物名称")
    private String goodsName;

    @ApiModelProperty(value = "企业名称")
    private String companiesName;



    @ApiModelProperty(value = "装车点对象")
    private Site loadingSite;

    @ApiModelProperty(value = "卸车站点对象")
    private Site unloadingSite;

    @ApiModelProperty(value = "发货总量（吨）")
    private Double goodsTotal;

    @ApiModelProperty(value = "专属车队编号")
    @TableField("exclusive_carTeam_id")
    private String exclusiveCarteamId;

    @ApiModelProperty(value = "装货量")
    private Double loadingCount;

    @ApiModelProperty(value = "卸货量")
    private Double unloadingCount;

    @ApiModelProperty(value = "结算主体编号")
    private String settlerId;

    @ApiModelProperty(value = "供应商编号")
    private String vendorId;

    @ApiModelProperty(value = "货物余量")
    private Double goodsHeadroom;

    @ApiModelProperty(value = "服务费率")
    private Double serviceRate;

    @ApiModelProperty(value = "运价")
    private BigDecimal sourceFreight;

    @ApiModelProperty(value = "含税运价")
    private BigDecimal sourceFreightTax;

    @ApiModelProperty(value = "货源状态")
    private Integer sourceStatus;

    @ApiModelProperty(value = "发布时间")
    private Date postsTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "备注")
    private String remark;


}
